//=============================================================================
/**
 * @file	comm_command_pkthln_func.h
 * @brief	ポケスロン　通信コールバック
 * @date	2007.07.10
 */
//=============================================================================

#ifndef	__COMM_COMMAND_PKTHLN_FUNC_H__
#define	__COMM_COMMAND_PKTHLN_FUNC_H__

#include "comm_command_pkthln.h"

extern void CommPkthlnSetEventNo( int netID, int size, void* pBuff, void* pWork );
extern void CommPkthlnPokeAddUp( int netID, int size, void* pBuff, void* pWork );
extern void CommPkthlnGetAllPokeData( int netID, int size, void* pBuff, void* pWork );
extern void CommPkthlnSetMyStatus( int netID, int size, void* pBuff, void* pWork );
extern void CommPkthlnGetMyRankData( int netID, int size, void* pBuff, void* pWork );
///extern void CommPkthlnReciveRankData( int netID, int size, void* pBuff, void* pWork );
extern void CommPkthlnGetEvtCmnData( int netID, int size, void* pBuff, void* pWork );
extern void CommPkthlnGetEvtShareData( int netID, int size, void* pBuff, void* pWork );
extern void CommPkthlnEvtResultAddUp(int netID, int size, void* pBuff, void* pWork);
extern void CommPkthlnGetAllEvtResult(int netID, int size, void* pBuff, void* pWork);
extern void CommPkthlnSendEvtActData(int netID, int size, void* pBuff, void* pWork);
extern void CommPkthlnShareEvtActData(int netID, int size, void* pBuff, void* pWork);
extern void CommPkthlnSendJuiceData(int netID, int size, void* pBuff, void* pWork);
extern void CommPkthlnShareJuiceData(int netID, int size, void* pBuff, void* pWork);

extern int CommPkthlnGetEventNoSize( void );
extern int CommPkthlnGetPokeAddUpSize( void );
extern int CommPkthlnGetAllPokeDataSize( void );
extern int CommPkthlnGetAllMyStatusSize( void );
extern int CommPkthlnGetRankDataSize( void );
extern int CommPkthlnGetAllRankDataSize( void );
extern int CommPkthlnGetEvtCmnDataSize( void );
extern int CommPkthlnGetEvtActionDataSize( void );
extern int CommPkthlnGetAllEvtActionDataSize( void );
extern int CommPkthlnGetJuiceDataSize( void );
extern int CommPkthlnGetAllJuiceDataSize( void );

extern u8* CommPkthlnGetShareDatBufAdr( int netID, void* pWork, int size );
extern u8* CommPkthlnGetRankDatBufAdr(int netID, void* pWork, int size);
extern u8* CommPkthlnGetOrgRankDatBufAdr(int netID, void* pWork, int size);
extern u8* CommPkthlnGetEvtActionDatBufAdr(int netID, void* pWork, int size);
extern u8* CommPkthlnGetMyEvtActionDatBufAdr(int netID, void* pWork, int size);

extern u8* CommPkthlnGetJuiceDatBufAdr(int netID, void* pWork, int size);
///extern u8* CommPkthlnGetAllJuiceDatBufAdr(int netID, void* pWork, int size);

#endif //__COMM_COMMAND_PKTHLN_FUNC_H__
